<?php
/**
 * Created by PhpStorm.
 * User: helloxingtongshi
 * Date: 2016-05-18
 * Time: 14:52
 */
require ("sql.php");
$find1="select id,name from produce";//查询遍历
$aresult= mysql_query($find1);
while($row=mysql_fetch_row($aresult)){
    $produce1[]=$row;
}
$find2="select materialId,materialname from material ";//查询遍历
$aresult= mysql_query($find2);
while($row=mysql_fetch_row($aresult)){
    $material1[]=$row;
}
$find3="select Id,name from client ";//查询遍历
$aresult= mysql_query($find3);
while($row=mysql_fetch_row($aresult)){
    $client1[]=$row;
}